﻿@page "/"

@TheColorFromPicker
<br />
<MyKendoColorPicker @bind-Color="@TheColorFromPicker" WidgetId="colorPicker1" />

@TheColorFromPalette
<br />
<MyKendoColorPalette @bind-Color="@TheColorFromPalette" WidgetId="colorPalette1" />

<MyKendoGantt WidgetId="gantt1" />

<MyKendoPdfViewer WidgetId="pdfViewer" FileName="SampleReport.pdf" Width="100%" Height="100%"  />

@code{
    System.Drawing.Color TheColorFromPicker { get; set; }
    System.Drawing.Color TheColorFromPalette { get; set; }

    protected override void OnInitialized()
    {
        TheColorFromPicker = System.Drawing.Color.Yellow;
        base.OnInitialized();
    }
}